﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:GpxToolsLib="clr-namespace:GpxToolsLib;assembly=GpxToolsLib" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:TrailMap_Controls="clr-namespace:TrailMap.Controls"
             xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
             xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
             mc:Ignorable="d" 
             x:Class="TrailMap.App"
             >
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
            	<ResourceDictionary Source="Default.xaml"/>
    		</ResourceDictionary.MergedDictionaries>
    		<GpxToolsLib:trk x:Key="trkDataSource" d:IsDataSource="True"/>
            
            <ControlTemplate x:Key="wayPointTemplate">
                <Grid d:DesignWidth="85" d:DesignHeight="35.167">
            		<Image Source="Resources/waypoint.png" Width="35" Height="35" HorizontalAlignment="Left" d:LayoutOverrides="Width" />
            		<sdk:Label x:Name="label" Content="{Binding name}" Height="15" Margin="21,0,0,0" VerticalAlignment="Top" BorderBrush="#FF5492D6" BorderThickness="1" Background="#FFD0E9FD" FontStretch="ExtraCondensed" FontWeight="Thin" Foreground="Black" Width="64" FontSize="8"/>
            	</Grid>
            </ControlTemplate>
        </ResourceDictionary>
        
    </Application.Resources>
</Application>
